﻿@model ITStore.Models.TTDangNhap
@{
    ViewBag.Title = "DangNhap";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
    <center>
        <legend>
            <h2>
                Thông tin đăng nhập</h2>
        </legend>
        
            <table style="text-align:left; font-size: 12pt">
                <tr>
                    <td class="editor-label">
                        Tên đăng nhập
                    </td>
                    <td class="editor-field">
                        @Html.EditorFor(model => model.UserName)
                        @Html.ValidationMessageFor(model => model.UserName)
                    </td>
                </tr>
                <tr>
                    <td class="editor-label">
                        Mật khẩu
                    </td>
                    <td class="editor-field">
                        @Html.EditorFor(model => model.pass)
                        @Html.ValidationMessageFor(model => model.pass)
                    </td>
                </tr>
                <tr>
                    <td class="editor-label">
                        Ghi nhớ
                    </td>
                    <td class="editor-field">
                        @Html.EditorFor(model => model.remember)
                        @Html.ValidationMessageFor(model => model.remember)
                    </td>
                </tr>
                <tr>
                    <td colspan = 2 style="text-align:center">
                        <input type="submit" value="Đăng nhập" /> | 
                        <input type="reset" value="Hủy" />
                    </td>
                </tr>
            </table>
    </fieldset>
}
</td> 